Alibabacloud.com offers a wide variety of articles about oracle stored procedure return cursor, easily find your oracle stored procedure return cursor information here online.
ORACLE stored procedure details, oracle Stored ProcedureORACLE Stored Procedure explanation 1. Definition
A Stored Procedure is a set of SQL statements used to complete specific database functions. The SQL statement set is compiled and Stored in the
Today, we will briefly summarize the usage of cursor in PL/SQL.
Cursor category:
-- Explicit cursor-- Static cursor |
| -- Implicit cursorCursor |-- Strong type (Restriction), specifying the return type-- Dynamic Cursor -- ref cursor |-- Weak type
ORACLE Stored Procedure learning, oracle Stored Procedure
Stored Procedure1 create or replace procedure stored PROCEDURE name
2 IS
3 BEGIN
4 NULL;
5 END;
Row 1:
Create or replace procedure is an SQL statement that notifies the Oracle database to
Oracle stored procedure Basic syntax introduction, the needs of friends can refer to the followingOracle stored procedure Basic syntax stored procedure1 CREATE OR REPLACE PROCEDURE Stored procedure name2 is3 BEGIN4 NULL;5 END;Line 1:Create OR
The use of any language or technology is the final principle. Why should we use stored procedures? Not applicable? Is there anything better than a stored procedure ?, With these series of problems, we can enter the use stage of the stored procedure.1
An extended stored procedure calls another stored procedure, example:Called stored procedure: Finally, a cursor is returned, and the cursor returns a value. The stored procedure that calls this stored procedure also needs to get it.
1. IntroductionSQL is a collection-oriented language, and the result is generally a collection (with multiple records), and the PL-SQL variable is a scalar, a set of variables can only hold one record at a time. Many times the number of records for
Oracle stored procedure Basic syntax stored procedure1 CREATE OR REPLACE PROCEDURE Stored procedure name2 is3 BEGIN4 NULL;5 END;Line 1:Create OR REPLACE PROCEDURE is an SQL statement that notifies the Oracle database to create a stored procedure
There are two implementation methods for returning a cursor from an Oracle stored procedure. One is to declare a system cursor and the other is to declare a custom cursor. This article will introduce it in detail. For more information, see
There are
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.